package org.linlinjava.litemall.db.domain;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class LitemallGoodsAccessoryExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LitemallGoodsAccessoryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public LitemallGoodsAccessoryExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public LitemallGoodsAccessoryExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public static Criteria newAndCreateCriteria() {
        LitemallGoodsAccessoryExample example = new LitemallGoodsAccessoryExample();
        return example.createCriteria();
    }

    public LitemallGoodsAccessoryExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public LitemallGoodsAccessoryExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNull() {
            addCriterion("goods_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNotNull() {
            addCriterion("goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdEqualTo(Integer value) {
            addCriterion("goods_id =", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("goods_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotEqualTo(Integer value) {
            addCriterion("goods_id <>", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("goods_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThan(Integer value) {
            addCriterion("goods_id >", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("goods_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("goods_id >=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("goods_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThan(Integer value) {
            addCriterion("goods_id <", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("goods_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanOrEqualTo(Integer value) {
            addCriterion("goods_id <=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("goods_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGoodsIdIn(List<Integer> values) {
            addCriterion("goods_id in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotIn(List<Integer> values) {
            addCriterion("goods_id not in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdBetween(Integer value1, Integer value2) {
            addCriterion("goods_id between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("goods_id not between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andMerchandiseIdIsNull() {
            addCriterion("merchandise_id is null");
            return (Criteria) this;
        }

        public Criteria andMerchandiseIdIsNotNull() {
            addCriterion("merchandise_id is not null");
            return (Criteria) this;
        }

        public Criteria andMerchandiseIdEqualTo(Integer value) {
            addCriterion("merchandise_id =", value, "merchandiseId");
            return (Criteria) this;
        }

        public Criteria andMerchandiseIdEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("merchandise_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMerchandiseIdNotEqualTo(Integer value) {
            addCriterion("merchandise_id <>", value, "merchandiseId");
            return (Criteria) this;
        }

        public Criteria andMerchandiseIdNotEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("merchandise_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMerchandiseIdGreaterThan(Integer value) {
            addCriterion("merchandise_id >", value, "merchandiseId");
            return (Criteria) this;
        }

        public Criteria andMerchandiseIdGreaterThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("merchandise_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMerchandiseIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("merchandise_id >=", value, "merchandiseId");
            return (Criteria) this;
        }

        public Criteria andMerchandiseIdGreaterThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("merchandise_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMerchandiseIdLessThan(Integer value) {
            addCriterion("merchandise_id <", value, "merchandiseId");
            return (Criteria) this;
        }

        public Criteria andMerchandiseIdLessThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("merchandise_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMerchandiseIdLessThanOrEqualTo(Integer value) {
            addCriterion("merchandise_id <=", value, "merchandiseId");
            return (Criteria) this;
        }

        public Criteria andMerchandiseIdLessThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("merchandise_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMerchandiseIdIn(List<Integer> values) {
            addCriterion("merchandise_id in", values, "merchandiseId");
            return (Criteria) this;
        }

        public Criteria andMerchandiseIdNotIn(List<Integer> values) {
            addCriterion("merchandise_id not in", values, "merchandiseId");
            return (Criteria) this;
        }

        public Criteria andMerchandiseIdBetween(Integer value1, Integer value2) {
            addCriterion("merchandise_id between", value1, value2, "merchandiseId");
            return (Criteria) this;
        }

        public Criteria andMerchandiseIdNotBetween(Integer value1, Integer value2) {
            addCriterion("merchandise_id not between", value1, value2, "merchandiseId");
            return (Criteria) this;
        }

        public Criteria andGroupNameIsNull() {
            addCriterion("group_name is null");
            return (Criteria) this;
        }

        public Criteria andGroupNameIsNotNull() {
            addCriterion("group_name is not null");
            return (Criteria) this;
        }

        public Criteria andGroupNameEqualTo(String value) {
            addCriterion("group_name =", value, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("group_name = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGroupNameNotEqualTo(String value) {
            addCriterion("group_name <>", value, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameNotEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("group_name <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGroupNameGreaterThan(String value) {
            addCriterion("group_name >", value, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameGreaterThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("group_name > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGroupNameGreaterThanOrEqualTo(String value) {
            addCriterion("group_name >=", value, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameGreaterThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("group_name >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGroupNameLessThan(String value) {
            addCriterion("group_name <", value, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameLessThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("group_name < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGroupNameLessThanOrEqualTo(String value) {
            addCriterion("group_name <=", value, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameLessThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("group_name <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGroupNameLike(String value) {
            addCriterion("group_name like", value, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameNotLike(String value) {
            addCriterion("group_name not like", value, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameIn(List<String> values) {
            addCriterion("group_name in", values, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameNotIn(List<String> values) {
            addCriterion("group_name not in", values, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameBetween(String value1, String value2) {
            addCriterion("group_name between", value1, value2, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameNotBetween(String value1, String value2) {
            addCriterion("group_name not between", value1, value2, "groupName");
            return (Criteria) this;
        }

        public Criteria andGroupNameEnIsNull() {
            addCriterion("group_name_en is null");
            return (Criteria) this;
        }

        public Criteria andGroupNameEnIsNotNull() {
            addCriterion("group_name_en is not null");
            return (Criteria) this;
        }

        public Criteria andGroupNameEnEqualTo(String value) {
            addCriterion("group_name_en =", value, "groupNameEn");
            return (Criteria) this;
        }

        public Criteria andGroupNameEnEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("group_name_en = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGroupNameEnNotEqualTo(String value) {
            addCriterion("group_name_en <>", value, "groupNameEn");
            return (Criteria) this;
        }

        public Criteria andGroupNameEnNotEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("group_name_en <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGroupNameEnGreaterThan(String value) {
            addCriterion("group_name_en >", value, "groupNameEn");
            return (Criteria) this;
        }

        public Criteria andGroupNameEnGreaterThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("group_name_en > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGroupNameEnGreaterThanOrEqualTo(String value) {
            addCriterion("group_name_en >=", value, "groupNameEn");
            return (Criteria) this;
        }

        public Criteria andGroupNameEnGreaterThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("group_name_en >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGroupNameEnLessThan(String value) {
            addCriterion("group_name_en <", value, "groupNameEn");
            return (Criteria) this;
        }

        public Criteria andGroupNameEnLessThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("group_name_en < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGroupNameEnLessThanOrEqualTo(String value) {
            addCriterion("group_name_en <=", value, "groupNameEn");
            return (Criteria) this;
        }

        public Criteria andGroupNameEnLessThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("group_name_en <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGroupNameEnLike(String value) {
            addCriterion("group_name_en like", value, "groupNameEn");
            return (Criteria) this;
        }

        public Criteria andGroupNameEnNotLike(String value) {
            addCriterion("group_name_en not like", value, "groupNameEn");
            return (Criteria) this;
        }

        public Criteria andGroupNameEnIn(List<String> values) {
            addCriterion("group_name_en in", values, "groupNameEn");
            return (Criteria) this;
        }

        public Criteria andGroupNameEnNotIn(List<String> values) {
            addCriterion("group_name_en not in", values, "groupNameEn");
            return (Criteria) this;
        }

        public Criteria andGroupNameEnBetween(String value1, String value2) {
            addCriterion("group_name_en between", value1, value2, "groupNameEn");
            return (Criteria) this;
        }

        public Criteria andGroupNameEnNotBetween(String value1, String value2) {
            addCriterion("group_name_en not between", value1, value2, "groupNameEn");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("`name` is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("`name` is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("`name` =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("`name` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("`name` <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("`name` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("`name` >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("`name` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("`name` >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("`name` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("`name` <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("`name` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("`name` <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("`name` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("`name` like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("`name` not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("`name` in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("`name` not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("`name` between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("`name` not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNumberIsNull() {
            addCriterion("`number` is null");
            return (Criteria) this;
        }

        public Criteria andNumberIsNotNull() {
            addCriterion("`number` is not null");
            return (Criteria) this;
        }

        public Criteria andNumberEqualTo(Integer value) {
            addCriterion("`number` =", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("`number` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNumberNotEqualTo(Integer value) {
            addCriterion("`number` <>", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("`number` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThan(Integer value) {
            addCriterion("`number` >", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("`number` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("`number` >=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("`number` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNumberLessThan(Integer value) {
            addCriterion("`number` <", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("`number` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNumberLessThanOrEqualTo(Integer value) {
            addCriterion("`number` <=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("`number` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNumberIn(List<Integer> values) {
            addCriterion("`number` in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotIn(List<Integer> values) {
            addCriterion("`number` not in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberBetween(Integer value1, Integer value2) {
            addCriterion("`number` between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("`number` not between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(BigDecimal value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("price = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(BigDecimal value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("price <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(BigDecimal value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("price > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("price >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(BigDecimal value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("price < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("price <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<BigDecimal> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<BigDecimal> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andConsumeRatioIsNull() {
            addCriterion("consume_ratio is null");
            return (Criteria) this;
        }

        public Criteria andConsumeRatioIsNotNull() {
            addCriterion("consume_ratio is not null");
            return (Criteria) this;
        }

        public Criteria andConsumeRatioEqualTo(BigDecimal value) {
            addCriterion("consume_ratio =", value, "consumeRatio");
            return (Criteria) this;
        }

        public Criteria andConsumeRatioEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("consume_ratio = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andConsumeRatioNotEqualTo(BigDecimal value) {
            addCriterion("consume_ratio <>", value, "consumeRatio");
            return (Criteria) this;
        }

        public Criteria andConsumeRatioNotEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("consume_ratio <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andConsumeRatioGreaterThan(BigDecimal value) {
            addCriterion("consume_ratio >", value, "consumeRatio");
            return (Criteria) this;
        }

        public Criteria andConsumeRatioGreaterThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("consume_ratio > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andConsumeRatioGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("consume_ratio >=", value, "consumeRatio");
            return (Criteria) this;
        }

        public Criteria andConsumeRatioGreaterThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("consume_ratio >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andConsumeRatioLessThan(BigDecimal value) {
            addCriterion("consume_ratio <", value, "consumeRatio");
            return (Criteria) this;
        }

        public Criteria andConsumeRatioLessThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("consume_ratio < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andConsumeRatioLessThanOrEqualTo(BigDecimal value) {
            addCriterion("consume_ratio <=", value, "consumeRatio");
            return (Criteria) this;
        }

        public Criteria andConsumeRatioLessThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("consume_ratio <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andConsumeRatioIn(List<BigDecimal> values) {
            addCriterion("consume_ratio in", values, "consumeRatio");
            return (Criteria) this;
        }

        public Criteria andConsumeRatioNotIn(List<BigDecimal> values) {
            addCriterion("consume_ratio not in", values, "consumeRatio");
            return (Criteria) this;
        }

        public Criteria andConsumeRatioBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("consume_ratio between", value1, value2, "consumeRatio");
            return (Criteria) this;
        }

        public Criteria andConsumeRatioNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("consume_ratio not between", value1, value2, "consumeRatio");
            return (Criteria) this;
        }

        public Criteria andCostTypeIsNull() {
            addCriterion("cost_type is null");
            return (Criteria) this;
        }

        public Criteria andCostTypeIsNotNull() {
            addCriterion("cost_type is not null");
            return (Criteria) this;
        }

        public Criteria andCostTypeEqualTo(Integer value) {
            addCriterion("cost_type =", value, "costType");
            return (Criteria) this;
        }

        public Criteria andCostTypeEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("cost_type = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCostTypeNotEqualTo(Integer value) {
            addCriterion("cost_type <>", value, "costType");
            return (Criteria) this;
        }

        public Criteria andCostTypeNotEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("cost_type <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCostTypeGreaterThan(Integer value) {
            addCriterion("cost_type >", value, "costType");
            return (Criteria) this;
        }

        public Criteria andCostTypeGreaterThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("cost_type > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCostTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("cost_type >=", value, "costType");
            return (Criteria) this;
        }

        public Criteria andCostTypeGreaterThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("cost_type >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCostTypeLessThan(Integer value) {
            addCriterion("cost_type <", value, "costType");
            return (Criteria) this;
        }

        public Criteria andCostTypeLessThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("cost_type < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCostTypeLessThanOrEqualTo(Integer value) {
            addCriterion("cost_type <=", value, "costType");
            return (Criteria) this;
        }

        public Criteria andCostTypeLessThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("cost_type <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCostTypeIn(List<Integer> values) {
            addCriterion("cost_type in", values, "costType");
            return (Criteria) this;
        }

        public Criteria andCostTypeNotIn(List<Integer> values) {
            addCriterion("cost_type not in", values, "costType");
            return (Criteria) this;
        }

        public Criteria andCostTypeBetween(Integer value1, Integer value2) {
            addCriterion("cost_type between", value1, value2, "costType");
            return (Criteria) this;
        }

        public Criteria andCostTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("cost_type not between", value1, value2, "costType");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("add_time is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("add_time is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(LocalDateTime value) {
            addCriterion("add_time =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
            addCriterion("add_time <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(LocalDateTime value) {
            addCriterion("add_time >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("add_time >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(LocalDateTime value) {
            addCriterion("add_time <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("add_time <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<LocalDateTime> values) {
            addCriterion("add_time in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<LocalDateTime> values) {
            addCriterion("add_time not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("add_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("add_time not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIsNull() {
            addCriterion("add_user_id is null");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIsNotNull() {
            addCriterion("add_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andAddUserIdEqualTo(Integer value) {
            addCriterion("add_user_id =", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("add_user_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotEqualTo(Integer value) {
            addCriterion("add_user_id <>", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("add_user_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThan(Integer value) {
            addCriterion("add_user_id >", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("add_user_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("add_user_id >=", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("add_user_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThan(Integer value) {
            addCriterion("add_user_id <", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("add_user_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("add_user_id <=", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("add_user_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddUserIdIn(List<Integer> values) {
            addCriterion("add_user_id in", values, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotIn(List<Integer> values) {
            addCriterion("add_user_id not in", values, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdBetween(Integer value1, Integer value2) {
            addCriterion("add_user_id between", value1, value2, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("add_user_id not between", value1, value2, "addUserId");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupIdIsNull() {
            addCriterion("accessory_group_id is null");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupIdIsNotNull() {
            addCriterion("accessory_group_id is not null");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupIdEqualTo(Integer value) {
            addCriterion("accessory_group_id =", value, "accessoryGroupId");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupIdEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("accessory_group_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupIdNotEqualTo(Integer value) {
            addCriterion("accessory_group_id <>", value, "accessoryGroupId");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupIdNotEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("accessory_group_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupIdGreaterThan(Integer value) {
            addCriterion("accessory_group_id >", value, "accessoryGroupId");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupIdGreaterThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("accessory_group_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("accessory_group_id >=", value, "accessoryGroupId");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupIdGreaterThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("accessory_group_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupIdLessThan(Integer value) {
            addCriterion("accessory_group_id <", value, "accessoryGroupId");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupIdLessThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("accessory_group_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupIdLessThanOrEqualTo(Integer value) {
            addCriterion("accessory_group_id <=", value, "accessoryGroupId");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupIdLessThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("accessory_group_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupIdIn(List<Integer> values) {
            addCriterion("accessory_group_id in", values, "accessoryGroupId");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupIdNotIn(List<Integer> values) {
            addCriterion("accessory_group_id not in", values, "accessoryGroupId");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupIdBetween(Integer value1, Integer value2) {
            addCriterion("accessory_group_id between", value1, value2, "accessoryGroupId");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupIdNotBetween(Integer value1, Integer value2) {
            addCriterion("accessory_group_id not between", value1, value2, "accessoryGroupId");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameIsNull() {
            addCriterion("accessory_group_name is null");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameIsNotNull() {
            addCriterion("accessory_group_name is not null");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameEqualTo(String value) {
            addCriterion("accessory_group_name =", value, "accessoryGroupName");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("accessory_group_name = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameNotEqualTo(String value) {
            addCriterion("accessory_group_name <>", value, "accessoryGroupName");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameNotEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("accessory_group_name <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameGreaterThan(String value) {
            addCriterion("accessory_group_name >", value, "accessoryGroupName");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameGreaterThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("accessory_group_name > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameGreaterThanOrEqualTo(String value) {
            addCriterion("accessory_group_name >=", value, "accessoryGroupName");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameGreaterThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("accessory_group_name >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameLessThan(String value) {
            addCriterion("accessory_group_name <", value, "accessoryGroupName");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameLessThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("accessory_group_name < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameLessThanOrEqualTo(String value) {
            addCriterion("accessory_group_name <=", value, "accessoryGroupName");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameLessThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("accessory_group_name <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameLike(String value) {
            addCriterion("accessory_group_name like", value, "accessoryGroupName");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameNotLike(String value) {
            addCriterion("accessory_group_name not like", value, "accessoryGroupName");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameIn(List<String> values) {
            addCriterion("accessory_group_name in", values, "accessoryGroupName");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameNotIn(List<String> values) {
            addCriterion("accessory_group_name not in", values, "accessoryGroupName");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameBetween(String value1, String value2) {
            addCriterion("accessory_group_name between", value1, value2, "accessoryGroupName");
            return (Criteria) this;
        }

        public Criteria andAccessoryGroupNameNotBetween(String value1, String value2) {
            addCriterion("accessory_group_name not between", value1, value2, "accessoryGroupName");
            return (Criteria) this;
        }

        public Criteria andMuchContentIsNull() {
            addCriterion("much_content is null");
            return (Criteria) this;
        }

        public Criteria andMuchContentIsNotNull() {
            addCriterion("much_content is not null");
            return (Criteria) this;
        }

        public Criteria andMuchContentEqualTo(Integer value) {
            addCriterion("much_content =", value, "muchContent");
            return (Criteria) this;
        }

        public Criteria andMuchContentEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("much_content = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMuchContentNotEqualTo(Integer value) {
            addCriterion("much_content <>", value, "muchContent");
            return (Criteria) this;
        }

        public Criteria andMuchContentNotEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("much_content <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMuchContentGreaterThan(Integer value) {
            addCriterion("much_content >", value, "muchContent");
            return (Criteria) this;
        }

        public Criteria andMuchContentGreaterThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("much_content > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMuchContentGreaterThanOrEqualTo(Integer value) {
            addCriterion("much_content >=", value, "muchContent");
            return (Criteria) this;
        }

        public Criteria andMuchContentGreaterThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("much_content >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMuchContentLessThan(Integer value) {
            addCriterion("much_content <", value, "muchContent");
            return (Criteria) this;
        }

        public Criteria andMuchContentLessThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("much_content < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMuchContentLessThanOrEqualTo(Integer value) {
            addCriterion("much_content <=", value, "muchContent");
            return (Criteria) this;
        }

        public Criteria andMuchContentLessThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("much_content <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMuchContentIn(List<Integer> values) {
            addCriterion("much_content in", values, "muchContent");
            return (Criteria) this;
        }

        public Criteria andMuchContentNotIn(List<Integer> values) {
            addCriterion("much_content not in", values, "muchContent");
            return (Criteria) this;
        }

        public Criteria andMuchContentBetween(Integer value1, Integer value2) {
            addCriterion("much_content between", value1, value2, "muchContent");
            return (Criteria) this;
        }

        public Criteria andMuchContentNotBetween(Integer value1, Integer value2) {
            addCriterion("much_content not between", value1, value2, "muchContent");
            return (Criteria) this;
        }

        public Criteria andFewContentIsNull() {
            addCriterion("few_content is null");
            return (Criteria) this;
        }

        public Criteria andFewContentIsNotNull() {
            addCriterion("few_content is not null");
            return (Criteria) this;
        }

        public Criteria andFewContentEqualTo(Integer value) {
            addCriterion("few_content =", value, "fewContent");
            return (Criteria) this;
        }

        public Criteria andFewContentEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("few_content = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFewContentNotEqualTo(Integer value) {
            addCriterion("few_content <>", value, "fewContent");
            return (Criteria) this;
        }

        public Criteria andFewContentNotEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("few_content <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFewContentGreaterThan(Integer value) {
            addCriterion("few_content >", value, "fewContent");
            return (Criteria) this;
        }

        public Criteria andFewContentGreaterThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("few_content > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFewContentGreaterThanOrEqualTo(Integer value) {
            addCriterion("few_content >=", value, "fewContent");
            return (Criteria) this;
        }

        public Criteria andFewContentGreaterThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("few_content >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFewContentLessThan(Integer value) {
            addCriterion("few_content <", value, "fewContent");
            return (Criteria) this;
        }

        public Criteria andFewContentLessThanColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("few_content < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFewContentLessThanOrEqualTo(Integer value) {
            addCriterion("few_content <=", value, "fewContent");
            return (Criteria) this;
        }

        public Criteria andFewContentLessThanOrEqualToColumn(LitemallGoodsAccessory.Column column) {
            addCriterion(new StringBuilder("few_content <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFewContentIn(List<Integer> values) {
            addCriterion("few_content in", values, "fewContent");
            return (Criteria) this;
        }

        public Criteria andFewContentNotIn(List<Integer> values) {
            addCriterion("few_content not in", values, "fewContent");
            return (Criteria) this;
        }

        public Criteria andFewContentBetween(Integer value1, Integer value2) {
            addCriterion("few_content between", value1, value2, "fewContent");
            return (Criteria) this;
        }

        public Criteria andFewContentNotBetween(Integer value1, Integer value2) {
            addCriterion("few_content not between", value1, value2, "fewContent");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private LitemallGoodsAccessoryExample example;

        protected Criteria(LitemallGoodsAccessoryExample example) {
            super();
            this.example = example;
        }

        public LitemallGoodsAccessoryExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(LitemallGoodsAccessory.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(LitemallGoodsAccessory.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(org.linlinjava.litemall.db.domain.LitemallGoodsAccessoryExample example);
    }
}